﻿using System.Data.Entity.ModelConfiguration;
using QDT.Core.Projects;

namespace QDT.Core.MSData.Mapping
{
    public class ProjectTypeMapping : EntityTypeConfiguration<ProjectType>
    {
        public ProjectTypeMapping()
        {
            HasKey(x => x.ID);
            Property(x => x.IsEffect).HasColumnName("is_effect");
            Property(x => x.IsDelete).HasColumnName("is_delete");


            ToTable(DB.TPref("deal_cate"));
        }
    }
}
